Next | Prev | Top | Contents | Index

Chapter 5: User-Level Access to SCSI Devices


IRIX contains a programming library, called dslib, that allows you to control SCSI devices from a user-level process. This chapter documents the functions in dslib, including the following topics:

You must understand the SCSI interface in order to command a SCSI device. For several SCSI information resources, see "Other Sources of Information" on page xxxvii.

If you are specifically interested in using audio data from a CDROM or DAT drive, you should use the special-purpose libraries for CDROM and DAT that are included in the IRIS Digital Media Development Environment. These libraries are built upon the generic SCSI driver, but provide convenient, audio-oriented functions. For more information on these libraries, see the IRIS Digital Media Programming Guide, document number 008-1799-040.

If your interest is in controlling SCSI devices at the kernel level, see Part V, "SCSI Device Drivers."


Overview of the dsreq Driver
Generic SCSI Device Special Files
The dsreq Structure
Testing the Driver Configuration
Using the Special DS_RESET and DS_ABORT Calls
Using dslib Functions
Example dslib Program

Next | Prev | Top | Contents | Index